import {Component, ViewEncapsulation, Output, EventEmitter} from '@angular/core';
import {Utility} from '../../services/app.utility';
declare let toastr:any;
declare let $:any;

@Component({
    selector: 'profile',
    encapsulation: ViewEncapsulation.None,
    styleUrls: ['./profile.scss'],
    templateUrl: './profile.html'

})
export class Profile {
    @Output()
    notifyOwnParent:EventEmitter<any> = new EventEmitter();

    constructor(public utility:Utility) {
    }

    // Function call for checked user profile using ID
    ngAfterViewInit() {
        this.utility.clickFromProfile = true;
    }

}
